<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <header>

    <div class="wrapper">

      <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/login">登陆-病房</RouterLink>
         <RouterLink to="/houseAdd">病房添加</RouterLink>
        <RouterLink to="/houseShow">病房列表</RouterLink>
        <RouterLink to="/login2">登陆-科室</RouterLink>
         <RouterLink to="/keRoomAdd">科室添加</RouterLink>
        <RouterLink to="/keRoomShow">科室列表</RouterLink>
        <RouterLink to="/login4">登陆-医生</RouterLink>
         <RouterLink to="/sirAdd">医生添加</RouterLink>
        <RouterLink to="/sirShow">医生列表</RouterLink>
      </nav>
    </div>
  </header>

  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}
</style>
